home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / standard / draw.z / draw
Encoding:
Text File  |  2002-10-03  |  3.5 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ddddrrrraaaawwww((((3333GGGG))))                                                              ddddrrrraaaawwww((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ddddrrrraaaawwww,,,, ddddrrrraaaawwwwiiii,,,, ddddrrrraaaawwwwssss,,,, ddddrrrraaaawwww2222,,,, ddddrrrraaaawwww2222iiii,,,, ddddrrrraaaawwww2222ssss - draws a line
  10.  
  11. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      vvvvooooiiiidddd ddddrrrraaaawwww((((CCCCoooooooorrrrdddd xxxx,,,, CCCCoooooooorrrrdddd yyyy,,,, CCCCoooooooorrrrdddd zzzz))))
  13.  
  14.      vvvvooooiiiidddd ddddrrrraaaawwwwiiii((((IIIIccccoooooooorrrrdddd xxxx,,,, IIIIccccoooooooorrrrdddd yyyy,,,, IIIIccccoooooooorrrrdddd zzzz))))
  15.  
  16.      vvvvooooiiiidddd ddddrrrraaaawwwwssss((((SSSSccccoooooooorrrrdddd xxxx,,,, SSSSccccoooooooorrrrdddd yyyy,,,, SSSSccccoooooooorrrrdddd zzzz))))
  17.  
  18.      vvvvooooiiiidddd ddddrrrraaaawwww2222((((CCCCoooooooorrrrdddd xxxx,,,, CCCCoooooooorrrrdddd yyyy))))
  19.  
  20.      vvvvooooiiiidddd ddddrrrraaaawwww2222iiii((((IIIIccccoooooooorrrrdddd xxxx,,,, IIIIccccoooooooorrrrdddd yyyy))))
  21.  
  22.      vvvvooooiiiidddd ddddrrrraaaawwww2222ssss((((SSSSccccoooooooorrrrdddd xxxx,,,, SSSSccccoooooooorrrrdddd yyyy))))
  23.  
  24.      All of the above functions are functionally the same except for the type
  25.      declarations of the parameters.  In addition the ddddrrrraaaawwww2222**** routines assume a
  26.      2-D point instead of a 3-D point.
  27.  
  28. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  29.      _x   expects the _x coordinate of the point to which you want to draw a
  30.          line segment.
  31.  
  32.      _y   expects the _y coordinate of the point to which you want to draw a
  33.          line segment.
  34.  
  35.      _z   expects the _z coordinate of the point to which you want to draw a
  36.          line segment.  (Not used by 2-D subroutines.)
  37.  
  38. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  39.      ddddrrrraaaawwww connects the point _x, _y, _z and the current graphics position with a
  40.      line segment.  It uses the current linestyle, linewidth, color (if in
  41.      depth-cue mode, the depth-cued color is used), and writemask.
  42.  
  43.      ddddrrrraaaawwww updates the current graphics position to the specified point.  Do
  44.      not place routines that invalidate the current graphics position within
  45.      sequences of moves and draws.
  46.  
  47. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  48.      bgnline, endline, move, v, getgpos
  49.  
  50. NNNNOOOOTTTTEEEE
  51.      ddddrrrraaaawwww should not be used in new development.  Rather, lines should be
  52.      drawn using the high-performance vvvv commands, surrounded by calls to
  53.      bbbbggggnnnnlllliiiinnnneeee and eeeennnnddddlllliiiinnnneeee.
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.